<script>
  export default {
      name: "MyStudent",
      data() {
          return {
              name: "李四",
              age: 18,
              sex: "男"
      }
    }
  }
</script>

<template>
  <div>
    学生姓名:<span>{{name}}</span><br>
    学生性别:<span>{{age}}</span><br>
    学生年龄:<span>{{sex}}</span><br>
  </div>
</template>